//import 'package:flutter/material.dart';
//import 'package:provider/provider.dart';
//import 'package:s_mankey/provider/provider_widget.dart';
//import 'package:s_mankey/view_model/my_page_vmodel.dart';
//
//class Demo1 extends StatefulWidget {
//  Demo1({Key key}) : super(key: key);
//
//  @override
//  _Demo1State createState() {
//    return _Demo1State();
//  }
//}
//
//class _Demo1State extends State<Demo1> {
//  @override
//  void initState() {
//    super.initState();
//  }
//
//  @override
//  void dispose() {
//    super.dispose();
//  }
//
//  @override
//  Widget buCourseInvitation) {
//    var model = Provider.of<MyPageChooseCourseVModel>(context,listen: false);
//    return Scaffold(appBar: AppBar(title: Text('我是猪'),),
//      body:
//        Text(model.num.toString()),
////    ProviderWidget<MyPageChooseCourseVModel>(model: MyPageChooseCourseVModel(),
////      builder: (context, model, child){
////        return  Column(children: [
////          Text(model.num.toString()),
////          MaterialButton(
////            color: Colors.blue,
////            textColor: Colors.white,
////            child: new Text(model.num.toString()),
////            onPressed: () {
////              model.loadNum(index: 2);
////            },
////          )
////        ],);
////      },
////   ),
//    );
//  }
//}
//
